package com.wench.design.pattern.singleton.hungry;

/**
 * @author wench
 */
public class CodeBlockClient {
    public static void main(String[] args) {
        SingletonStaticCodeBlock instance = SingletonStaticCodeBlock.getInstance();
        SingletonStaticCodeBlock block = SingletonStaticCodeBlock.getInstance();
        System.out.println(instance == block);
    }
}
